<template>
  <el-row class="warp">
    <el-col :span="24" class="warp-breadcrum">
      <el-breadcrumb separator="/">
        <el-breadcrumb-item :to="{ path: '/' }"><b>首页</b></el-breadcrumb-item>
        <el-breadcrumb-item>图书管理</el-breadcrumb-item>
        <el-breadcrumb-item>图书分类</el-breadcrumb-item>
      </el-breadcrumb>
    </el-col>
    <el-col :span="24" class="warp-main">
      <h2>神马也没有！</h2>
      <h3>{{msg}} {{message}} {{$route.params.msg}} </h3>
      <router-link :to="{ name:'图书列表',params: { msg: 'paramsid'}}" >
        router-link跳转router1
      </router-link>
    </el-col>
  </el-row>
</template>

<script>
export default {
  data () {
    return {
      msg: '传递过来值：'
    }
  },
  props: {
    message: {
      type: String,
      default: 'default'
    }
  }
}
</script>
